<div class="col-lg-8">  
	<div class="container-fluid">
				 <!-- video terbaru -->
		<div class="col-lg-12 " style="margin-bottom:10px;">
		   <legend>Form Pendaftaran</legend>  
			<?php if(validation_errors()):?>
				<div class="alert alert-danger"><a class="close" data-dismiss="alert">&times</a><h4>Proses Pendaftaran Gagal Karena Terdapat Kesalahan!</h4><?php echo validation_errors(); ?></div>
			<?php endif;?>
			<?php echo $berhasil; ?>
			
			<form class="form-horizontal" role="form" action="<?php echo base_url()?>index.php/akun/daftar_akun" method="post">
					  <div class="form-group">
						<label for="inputusername" class="col-sm-3 control-label">Nama Akun</label>
						<div class="col-sm-6">
						  <input type="text" name="username" class="form-control" id="username" placeholder="Nama Akun" required <?php echo set_value('username'); ?>>
						</div>
					  </div>
					  
					  <div class="form-group">
					  
						<label for="inputnamalengkap" class="col-sm-3 control-label">Nama Lengkap</label>
						<div class="col-sm-6">
						  <input type="text" name="namalengkap" class="form-control" id="namalengkap" placeholder="Nama Lengkap Anda" required>
						</div>
					  </div>	
					  <div class="form-group">
						<label for="inputpassword" class="col-sm-3 control-label">Kata Kunci</label>
						<div class="col-sm-6">
						  <input type="password" class="form-control" id="password" name="password" placeholder="Kata Kunci" required > 
						</div>
					  </div>
					  <div class="form-group">
						<label for="konfirmpassword" class="col-sm-3 control-label">Konfirmasi Kata Kunci</label>
						<div class="col-sm-6">
						  <input type="password" class="form-control" id="konfirmpassword" name="konfirmpassword" placeholder="Konfirmasi Kata Kunci" required>
						</div>
					  </div>
					  <div class="form-group">
					  <label for="jk" class="col-sm-3 control-label">Jenis Kelamin</label>
							<div class="col-sm-6">
							  <div class="radio">
								  <label>
									<input type="radio" name="jk" id="lakilaki" value="1" checked>
									Laki - laki
								  </label>
								</div>
								<div class="radio">
								  <label>
									<input type="radio" name="jk" id="perempuan" value="2">
									Perempuan
								  </label>
							</div>
							</div>
					  </div>
					  
					  <div class="form-group">
						<label for="tanggallahir" class="col-sm-3 control-label">Tanggal Lahir</label>
						<div class="col-sm-6">
						  <input type="date" id="datepicker" class="form-control" name="tanggallahir">
						</div>
					  </div>
					  
					  <div class="form-group">
						<label for="email" class="col-sm-3 control-label">Alamat Email</label>
						<div class="col-sm-6">
						  <input type="email" id="email" class="form-control" value="" name="email" placeholder="Masukkan alamat email anda yang valid" required>
						</div>
					  </div>
					  
					   <div class="form-group">
						<label for="peran" class="col-sm-3 control-label">Daftar Sebagai</label>
					  <div class="col-sm-6">
						  <select class="form-control" name="peran">
							<option value="2">Reviewer</option>
							<option value="3">Kontributor</option>
						  </select>
						</div>
					  </div>
					  
					  <div class="form-group">
						<label for="pendidikan" class="col-sm-3 control-label">Pendidikan</label>
					  <div class="col-sm-6">
						  <select class="form-control" name="pendidikan">
							<option value="SMP">SMP</option>
							<option value="SMA">SMA</option>
							<option value="S1">S1</option>
							<option value="S2">S2</option>
							<option value="S3">S3</option>
						  </select>
						</div>
					  </div>
					  
					  <div class="form-group">
						<label for="pekerjaan" class="col-sm-3 control-label">Pekerjaan</label>
					  <div class="col-sm-6">
						  <select class="form-control" name="pekerjaan">
							<option value="Guru">Guru</option>
							<option value="Wiraswasta">Wiraswasta</option>
							<option value="Pelajar">Pelajar</option>
							<option value="PNS">PNS</option>
							<option value="Dosen">Dosen</option>
						  </select>
						</div>
					  </div>
					  <div class="form-group">
						<div class="col-sm-offset-3 col-sm-10">
						  <button type="submit"  class="btn btn-success">Daftar</button>
						  <a href="<?php echo base_url()?>index.php/home" class="btn btn-default" role="button">Batal</a>
						</div>
					  </div>
					</form>
		</div> 
	</div>
</div>